import requests

url = 'https://ssr2.scrape.center/'

headers = {
    'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36',

}
# 忽略证书验证
resp = requests.get(url,headers=headers,verify=False)
print(resp.text)